<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>addStudent</title>
    <style>
        .form{
            width: 400px;
            margin: auto;
            text-align: center;
            font-size: 25px;
            border: 1px solid black;
            background-color: blanchedalmond;
        }
        .span{
            float: left;
            margin-left: 10px;
            margin-right: auto;
        }
    </style>
</head>
<body>
    <h1 style="text-align: center">修改学生页</h1>
    <form class="form" th:action="@{/student/update}" method="post">

        <input style="text-align: center" type="text" hidden="hidden" th:value="${student.studentId}" name="studentId"> <br>
        <span class="span">学生名称:</span> <input type="text" th:value="${student.studentName}" name="studentName"><br>
        <br>
        <span class="span">相关操作:</span> <input type="submit" value="修改"> &nbsp;<input type="button" onclick="window.history.back()" value="返回">
    </form>
</body>
</html>